var PublicConfig_showBottom01 = function() {
	var opts={
		PCwebsite:""
	};
	
	var init = function(options) {
	    $.extend(opts,options);
	    initEvents();
	    
		$('#touchId').click(function() {
			location.href ="http://"+window.location.host;
		})
		
	  var regex=/zmobile/; 		
	  var isResee=regex.test(navigator.userAgent)||/zmios/.test(navigator.userAgent);
	  if(isResee){
	     $("#pcswitching").hide();
	  }
		
		
		$('#pcId').click(function() {
		//    $.ajaxJSONP(opts.PCwebsite+"/loginAuthenticate.do?method=setCookie", function(){
		//	location.href=opts.PCwebsite;
        //   });
        
           /*$.ajaxJSONP({
			  type: 'GET',
			  url: opts.PCwebsite+"/loginAuthenticate.do?method=setCookie&n"+new Date(),
			
			  jsonpCallback: function(){}
			})*/
		   
			scriptLoader(document,[opts.PCwebsite+"/loginAuthenticate.do?method=setCookie&n"+new Date()],function(){
				location.href=opts.PCwebsite;
			});
		})
	
	};


    var initEvents=function(){
   
    }
	function scriptLoader(doc, srcArr, cb, idx) {
		if (typeof(idx) == 'undefined')
			idx = 0;
		if (idx >= srcArr.length) {
			cb(); 
			return;
		}
		var jsEl = doc.createElement("script");
		jsEl.type = "text/javascript";
		jsEl.src = srcArr[idx];
		jsEl.onload = jsEl.onreadystatechange = function() {
			if (jsEl.readyState && jsEl.readyState != 'loaded'
					&& jsEl.readyState != 'complete')
				return;
			if(srcArr[idx]){
				srcArr[idx]=null;
				scriptLoader(doc, srcArr, cb, idx + 1);
			}
		};
		doc.getElementsByTagName("head")[0].appendChild(jsEl);
	}

	return {
		init : init
	}
}();